#pragma once
#include "ICodeTableFactory.h"
#include "CodeTable.h"

class CodeTableFactory: public ICodeTableFactory
{
private:
	std::vector<bool> m_code;
	std::map<char, vector<bool> > m_table;
	void buildTable(INode* root);
public:
	virtual ICodeTable* create(INode* root);
};
